<template>
    <div>
        <statisticsDetailItem v-for="(item,index) in detailData"
                              :key="index"
                              :itemData="item"></statisticsDetailItem>
        <myMenu></myMenu>
    </div>
</template>
<script>
import myMenu from '@/commonComponents/menu'
import statisticsDetailItem from './statisticsDetailItem'
export default {
    name: 'statisticsDetail',
    components: {
        statisticsDetailItem,
        myMenu
    },
    data () {
        return {
            detailData: []
        }
    },
    created () {
        this.detailData = this.$route.params.detail
        console.log(this.detailData)
    }
}
</script>
